package cn.fayang.org.service.impl;

import cn.fayang.basic.service.impl.BaseServiceImpl;
import cn.fayang.org.domain.Employee;
import cn.fayang.org.mapper.EmployeeMapper;
import cn.fayang.org.service.IEmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
 * service接口实现类
 */
@Service
//只读
@Transactional(readOnly = true,propagation = Propagation.SUPPORTS)
public class EmployeeServiceImpl extends BaseServiceImpl<Employee> implements IEmployeeService {
    //注入service
    @Autowired
    private EmployeeMapper employeeMapper;



}
